Calculus explained with a real life example